package cn.zyzpp.java_monitor.timer.parm;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Create by yster@foxmail.com 2018/11/14 0014 21:18
 */
@Component
@ConfigurationProperties(prefix = "monitor")
public class CronParm {
	private String cron;
	private Integer rate;

	public String getCron() {
		return cron;
	}

	public void setCron(String cron) {
		this.cron = cron;
	}

	public Integer getRate() {
		return rate;
	}

	public void setRate(Integer rate) {
		this.rate = rate;
	}

}
